package com.emip.service;

import java.util.List;

import com.emip.bean.AreaBean;
import com.emip.bean.MonitorTypeBean;
import com.emip.bean.SiteBean;
import com.emip.bean.ValleyBean;

public interface SiteService {
	public List<SiteBean> getAll();
	public SiteBean getSiteByID(String id);
	public SiteBean addSite(String id, MonitorTypeBean monitorType, AreaBean area,
			String name, String gprsID, ValleyBean valley, String qualityName, int qualityLevel,
			String contact, String telephone, String mobile, String eMail, String ipAddress,
			String port, int freqMin, String gpsFixed, String gpsLongitude, String gpsLatitude,
			String remark, float longitudeSetoff, float latitudeSetoff);
	public SiteBean updateSite(String id, MonitorTypeBean monitorType, AreaBean area,
			String name, String gprsID, ValleyBean valley, String qualityName, int qualityLevel,
			String contact, String telephone, String mobile, String eMail, String ipAddress,
			String port, int freqMin, String gpsFixed, String gpsLongitude, String gpsLatitude,
			String remark, float longitudeSetoff, float latitudeSetoff);
	public Boolean deleteSite(String id);
	
	//按照省份排序的site列表
	public List<SiteBean> getAllOrderByProvince();
}
